package com.zyq.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**处理图片数据的Maper*/
@Repository
public interface PictureMapper {
    /**根据相册统计图片数量*/
    @Select("select count(*) from pms_picture where album_id=#{albumId}")
    public int countPicturesByAlbumId(Long albumId);
}
